/*package Demo1;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Test3 {
    public static void main(String[] args) {
        List<Student> names = new ArrayList<>();
        names.add(new Student(10,"张三","男"));
        names.add(new Student(5,"张三","男"));
        names.add(new Student(1,"张三","男"));
        names.add(new Student(15,"张三","男"));
        System.out.println(names);
        Collections.sort(names);
        System.out.println(names);
    }
}*/
